public class yuan {
    public static void main(String[] args){
        Yuan(5);
    }
    public static void Yuan(double r){
        System.out.printf("圆的面积为：%.2f\n",Math.PI*r*r);
        System.out.printf("圆的周长为：%.2f",2*r*Math.PI);
    }
}
